package com.budwk.app.util;

import java.util.Map;

/**
 * @BelongsProject: dfxy-shequ
 * @Author: yangweimin
 * @CreateTime: 2024-04-15  09:14
 * @Description: TODO
 */
public class MapUtil {

    /**
     * 设置map的值为空
     * @param map
     * @return
     */
    public static Map<String, Object> setMapValueToNull(Map<String, Object> map) {
        for (String key : map.keySet()) {
            map.put(key, null);
        }
        return map;
    }
}
